﻿import { ISysGroup } from '/@/views/fileattachment/api/interface'
import { ISysOrg } from '/@/views/fileattachment/api/interface'

export interface ISysDailyLeaveRequestBill {
  ID?: string | null;
  PersonId: string | null;
  OrgId: string | null;
  Org?: ISysOrg;
  StaffNo: string | null;
  Name: string | null;
  LeaveType: number | null;
  StartTime: Date | null;
  EndTime: Date | null;
  Days: string | null | number;
  Reason: string | null;
  Approver: string | null;
  ApprovalTime: Date | null;
  GroupId: null;
  Group?: ISysGroup;
  BillCode: string | null;
  BillStatus: number | null | string;
  WorkflowStatus: number | null | string;
  Remark: string | null
  SupportingDocumentId: string[];
  AffectsAttendance: boolean | null;
}

export interface ISysDailyLeaveRequestBillVm {
  Entity: ISysDailyLeaveRequestBill;
  ActionName?: string | null;
  IsMyApprove?: boolean | null;
  Remark?: string | null;

}

export interface ISysDailyLeaveRequestBillView extends ISysDailyLeaveRequestBill {

  ActionNames?: string;

}

export interface ISysDailyLeaveRequestBillQuery {
  PersonId?: string
  StaffNo?: string
  Name?: string
  LeaveType?: number
  Days?: string | number
  Reason?: string
  Approver?: string
  ApprovalTime?: Date
  GroupId?: string
  BillCode?: string
  BillStatus?: number
  WorkflowStatus?: number
  AffectsAttendance?: boolean
}